package cn.com.api.service.impl.base;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_member_task_process;

import cn.com.api.mapper.ApiT_member_task_processMapper;

import cn.com.api.service.ApiT_member_task_processService;

/**
 * 
 **/
@Service
public class T_member_task_processServiceImplBase {
	@Autowired
	private ApiT_member_task_processMapper apiT_member_task_processMapper;
    
    // 根据id获取
	public ApiT_member_task_process findT_member_task_processById(Integer id){
		ApiT_member_task_process t_member_task_process = apiT_member_task_processMapper.findT_member_task_processById( id );
		return t_member_task_process;
	}
    
    //查看数据集
	public List<ApiT_member_task_process> findT_member_task_processs(){
        List<ApiT_member_task_process> t_member_task_processs = apiT_member_task_processMapper.findT_member_task_processs();
		return t_member_task_processs;
    }
   
    //根据条件查看数据集
	public List<Map<String, Object>> findT_member_task_processsByMap(HashMap condition){
        List<Map<String, Object>> t_member_task_processs = apiT_member_task_processMapper.findT_member_task_processsByMap(condition);
		return t_member_task_processs;
    }
    
	// 添加
	public int insertT_member_task_process(ApiT_member_task_process t_member_task_process){
		int ret_I= apiT_member_task_processMapper.insertT_member_task_process(t_member_task_process);
		return ret_I;
	}

	// 修改
	public int updateT_member_task_process(ApiT_member_task_process t_member_task_process){
		int ret_I= apiT_member_task_processMapper.updateT_member_task_process(t_member_task_process);
		return ret_I;
	}
	
    // 删除
	public int deleteT_member_task_process(Integer id){
		int ret_I= apiT_member_task_processMapper.deleteT_member_task_process( id );
		return ret_I;
	}
	
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    
    
}


